Skip to content

Conversation

@chrisburr
Copy link
Member

BEGINRELEASENOTES
*Resources
FIX: SingularityComputingElement: convert MemoryLimitMB to int before comparison with maxRAM
ENDRELEASENOTES

The MemoryLimitMB parameter from configuration is a string, causing a TypeError when compared with the integer maxRAM in min():

TypeError: '<' not supported between instances of 'str' and 'int'

aldbr
aldbr previously approved these changes Jan 13, 2026
fstagni
fstagni previously approved these changes Jan 13, 2026
@fstagni fstagni dismissed stale reviews from aldbr and themself via 981de8f January 13, 2026 14:26
@fstagni fstagni force-pushed the fix/singularity-memory-limit-type branch from bfdb9dc to 981de8f Compare January 13, 2026 14:26
chrisburr and others added 2 commits January 19, 2026 11:39
…putingElement

The MemoryLimitMB parameter from configuration is a string, causing a
TypeError when compared with the integer maxRAM in min().
@chrisburr chrisburr force-pushed the fix/singularity-memory-limit-type branch from 981de8f to 7814c0a Compare January 19, 2026 10:39
@chrisburr chrisburr merged commit 1775dac into DIRACGrid:integration Jan 19, 2026
21 checks passed
@DIRACGridBot DIRACGridBot added the sweep:ignore Prevent sweeping from being ran for this PR label Jan 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

sweep:ignore Prevent sweeping from being ran for this PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants